﻿<!DOCTYPE html>
<html>
	<meta charset="UTF-8"/>
	<head>
		<script>
			/*
			(function(){
				console.log("匿名函数");
			})();
			*/
			var num = 100;
			
			function test(num){
				num = 200;
				console.log(num); //200
			}
			test(555);
			
			console.log(num); //100
			
			//console.log(num2);
			
		</script>
	</head>
	<body>
		
		<button>点我</button>
	</body>	
</html>











